package com.py.credit.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.py.framework.core.common.Page;

public interface WebCreditReportDao {

	 Map<String,String>   checkFr(
			@Param(value="ztmc")String ztmc, 
			@Param(value="A00002")String A00002, 
			@Param(value="gszch")String gszch);

	 Map<String,String>   checkZrr(
			@Param(value="fddbrmc")String fddbrmc,
			@Param(value="fddbrzjhm")String fddbrzjhm);

	void addcreditreport(
			@Param(value="ztmc")String ztmc,
			@Param(value="tydm")String tydm,
			@Param(value="gszch")String gszch,
			@Param(value="fddbrmc")String fddbrmc,
			@Param(value="fddbrzjhm")String fddbrzjhm,
			@Param(value="jbrxm")String jbrxm,
			@Param(value="jbrzjhm")String jbrzjhm,
			@Param(value="jbrlxdh")String jbrlxdh, 
			@Param(value="cxyt")String cxyt, 
			@Param(value="type")String type,
			@Param(value="path")String path,@Param(value="sqbh")String sqbh);

	List<Map<String, String>> getcreditreportHistoryForPage(
			@Param(value="ztmc")String ztmc,
			@Param(value="lqzt")String lqzt,
			@Param(value="type")String type,
			@Param(value="page")Page page);

	void updatecreditreportStatus(@Param(value="sqbh")String sqbh);

	String creditreportPreview(@Param(value = "sqbh")String sqbh);

}
